package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.jc.dto.JcPayRecordDTO;
import com.qili.entity.jc.dto.JcProjectDTO;
import com.qili.entity.jc.dto.JcProjectPayDTO;
import com.qili.entity.supervisor.SupervisorPayRecord;
import com.qili.entity.supervisor.SupervisorProject;
import com.qili.entity.supervisor.dto.SupervisorPayRecordDTO;
import com.qili.entity.supervisor.dto.SupervisorProjectDTO;
import com.qili.mapper.supervisor.SupervisorPayRecordMapper;
import com.qili.service.supervisor.SupervisorPayRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2020/12/29
 * @description  工程款支付记录
 */
@Service
public class SupervisorPayRecordServiceImpl extends BaseServiceImpl<SupervisorPayRecord,String> implements SupervisorPayRecordService {

    @Autowired
    private SupervisorPayRecordMapper supervisorPayRecordMapper;

    @Autowired
    private SupervisorPayRecordMapper supervisorProjectPayMapper;
    @Override
    public BaseMapper<SupervisorPayRecord, String> getMappser() {
        return supervisorPayRecordMapper;
    }
    @Override
    public List<SupervisorPayRecordDTO> selectPayRecord(SupervisorProjectDTO dto){
        return    supervisorPayRecordMapper.selectPayRecord(dto);
    }
    @Override
    public   List<SupervisorPayRecordDTO> selectPayRecordDe(SupervisorProjectDTO dto){
        return    supervisorPayRecordMapper.selectPayRecordDe(dto);
    }

    @Override
    public List<SupervisorPayRecordDTO> selectHk(SupervisorProjectDTO dto) {
        return supervisorPayRecordMapper.selectHk(dto);
    }

    @Override
    public SupervisorPayRecordDTO selectHkById(String id) {
        return supervisorPayRecordMapper.selectHkById(id);
    }


}
